package com.example.train_operate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.train_operate.entity.Inspection;

import java.util.List;


public interface DailyInspectionJudgmentMapper extends BaseMapper<Inspection> {
    int addByStep(Inspection inspection);
    //通过step查找InspectionOrExamine
    Inspection findByStep(Integer step);
    int updateByStep(Inspection inspection);
    //通过step删除InspectionOrExamine
    void deleteByStep(Integer step);
    //返回所有的InspectionOrExamine
    List<Inspection> findAll();

}
